package com.baixiaowen.disruptor.Disruptor快速使用;


import com.lmax.disruptor.EventHandler;

/**
 * 事件处理器，事件消费者
 *
 * @author oker
 */
public class OrderEventHandler implements EventHandler<OrderEvent> {
    @Override
    public void onEvent(OrderEvent orderEvent, long sequence, boolean endOfBatch) throws Exception {
        System.err.println("消费者: " + orderEvent.getValue() );
    }
}
